package com.ganzalang.gmall.threadlocal;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class GmallThreadlocalApplication {

    public static void main(String[] args) {
        ThreadLocal<Integer> count = new ThreadLocal<>();
        count.set(2);
        System.out.println("count's class is: " + count.getClass().getSimpleName());
        SpringApplication.run(GmallThreadlocalApplication.class, args);
    }

}
